/*    */ package com.lmpop.createIndex.search;
/*    */ 
/*    */ import com.lmpop.createIndex.searchModel.Queue;
/*    */ import com.lmpop.createIndex.searchModel.QueueValue;
/*    */ import com.lmpop.createIndex.searchModel.SearchData;
/*    */ import com.lmpop.createIndex.searchModel.SearchModel;
/*    */ import java.io.IOException;
/*    */ import java.util.ArrayList;
/*    */ import java.util.List;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class ZpindexFiles
/*    */ {
/*    */   public ProperUtil properUtil;
/*    */   private String file_path;
/*    */ 
/*    */   public ZpindexFiles()
/*    */   {
/* 19 */     this.properUtil = new ProperUtil();
/* 20 */     this.file_path = this.properUtil.getFilePathByModel("job");
/*    */   }
/*    */ 
/*    */   public List getZpInfo(Map paraMap) throws IOException {
/* 24 */     ArrayList showList = new ArrayList();
/* 25 */     SearchData search = new SearchData();
/* 26 */     ArrayList paraList = new ArrayList();
/*    */ 
/* 28 */     String state_code = ""; String recompany = ""; String work_exper = ""; String work_type = ""; String degree = ""; String recom = ""; String career = ""; String in_date = ""; String area_attr = "";
/* 29 */     String cust_id = "";
/* 30 */     if (paraMap.get("cust_id") != null) cust_id = paraMap.get("cust_id").toString();
/* 31 */     if (paraMap.get("state_code") != null) state_code = paraMap.get("state_code").toString();
/* 32 */     if (paraMap.get("recompany") != null) recompany = paraMap.get("recompany").toString();
/* 33 */     if (paraMap.get("recom") != null) recom = paraMap.get("recom").toString();
/* 34 */     if (paraMap.get("work_exper") != null) work_exper = paraMap.get("work_exper").toString();
/* 35 */     if (paraMap.get("work_type") != null) work_type = paraMap.get("work_type").toString();
/* 36 */     if (paraMap.get("degree") != null) degree = paraMap.get("degree").toString();
/* 37 */     if (paraMap.get("career") != null) career = paraMap.get("career").toString();
/* 38 */     if (paraMap.get("in_date") != null) in_date = paraMap.get("in_date").toString();
/* 39 */     if (paraMap.get("area_attr") != null) area_attr = paraMap.get("area_attr").toString();
/* 40 */     Queue queue = new Queue(new QueueValue[] { new QueueValue("in_date", 2, true) });
/* 41 */     paraList.add(new SearchModel("0", "work_type", work_type));
/* 42 */     paraList.add(new SearchModel("0", "cust_id", cust_id));
/* 43 */     paraList.add(new SearchModel("0", "work_exper", work_exper));
/* 44 */     paraList.add(new SearchModel("0", "recompany", recompany));
/* 45 */     paraList.add(new SearchModel("0", "recom", recom));
/* 46 */     paraList.add(new SearchModel("0", "career", career));
/* 47 */     paraList.add(new SearchModel("0", "degree", degree));
/* 48 */     paraList.add(new SearchModel("1", "in_date", in_date));
/* 49 */     paraList.add(new SearchModel("0", "area_attr", area_attr));
/* 50 */     showList = search.getSearchInfo(this.file_path, paraList, queue);
/* 51 */     return showList;
/*    */   }
/*    */ }

/* Location:           F:\电商\commons-utils.jar
 * Qualified Name:     com.lmpop.createIndex.search.ZpindexFiles
 * JD-Core Version:    0.6.0
 */